<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        
        <div id="app" v-bind:title="msg">
            <a :href="link">由vue渲染的链接</a>
        </div>
        
        <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
        <script>
            var vm = new Vue({
                el:'#app',
                data:{
                    msg:'你好',
                    link: 'https://baidu.com'
                }
            })
        </script>
    </body>
</html>